﻿namespace LS.Nc6.Core.Entity.System
{
    /// <summary>
    /// 登录日志管理
    /// </summary>

    [SugarTable("sys_operatelog", TableDescription = "登录日志管理")]
    public class SysOperateLogEntity : EntityBaseDate
    {
        /// <summary>
        /// 控制器
        /// </summary>
        public string ControllerName { get; set; }

        /// <summary>
        /// 方法
        /// </summary>
        public string ActionName { get; set; }

        /// <summary>
        ///参数
        /// </summary>
        public string Parameter { get; set; }

        /// <summary>
        /// 状态 0=成功 1=失败
        /// </summary>
        public int OperateState { get; set; }

        /// <summary>
        /// 错误消息
        /// </summary>
        public string OperateMsg { get; set; }

        /// <summary>
        /// 消耗时间 毫秒
        /// </summary>
        public long ConsumedTime { get; set; }

        /// <summary>
        /// 操作IP
        /// </summary>
        public string OperateIp { get; set; }
    }
}
